package org.bigdata.framework.core.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2018-04-04
 */
@TableName("search_favorite_resource")
public class SearchFavoriteResource implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 用户名
	 */
	@TableField(value="member_username")
	private String memberUsername;

	/**
	 * 资源id
	 */
	@TableField(value="resource_id")
	private String resourceId;

	/**
	 * 资源标题
	 */
	@TableField(value="resource_title")
	private String resourceTitle;

	/**
	 * 资源类型
	 */
	@TableField(value="resource_type")
	private String resourceType;

	/**
	 * 所属分类
	 */
	@TableField(value="search_favorite_category_id")
	private Integer searchFavoriteCategoryId;

	/**
	 * 分类名称
	 */
	@TableField(value="search_favorite_category_name")
	private String searchFavoriteCategoryName;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private String createTime;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMemberUsername() {
		return memberUsername;
	}

	public void setMemberUsername(String memberUsername) {
		this.memberUsername = memberUsername;
	}

	public String getResourceId() {
		return resourceId;
	}

	public void setResourceId(String resourceId) {
		this.resourceId = resourceId;
	}

	public String getResourceTitle() {
		return resourceTitle;
	}

	public void setResourceTitle(String resourceTitle) {
		this.resourceTitle = resourceTitle;
	}

	public String getResourceType() {
		return resourceType;
	}

	public void setResourceType(String resourceType) {
		this.resourceType = resourceType;
	}

	public Integer getSearchFavoriteCategoryId() {
		return searchFavoriteCategoryId;
	}

	public void setSearchFavoriteCategoryId(Integer searchFavoriteCategoryId) {
		this.searchFavoriteCategoryId = searchFavoriteCategoryId;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getSearchFavoriteCategoryName() {
		return searchFavoriteCategoryName;
	}

	public void setSearchFavoriteCategoryName(String searchFavoriteCategoryName) {
		this.searchFavoriteCategoryName = searchFavoriteCategoryName;
	}

	
	

}
